package malus.shaofeng.com.beiwomusic.utils;

/**
 * Created by Administrator on 2015/3/10.
 */
public class Constants {
    public static class URL{
        /**
         * 图片地址
         */
        public static final String IMAGE_URL="http://cdn.kxai.cn/";
    }

    public static class SP{
        /**
         * 存储已经登录的用户
         */
        public static final String KEY_SP_TABLE_LOGIN_USER="loginUser";
        /**
         * 存储用户id
         */
        public static final String KEY_SP_UID="uid";
        public static final String KEY_SP_TOKEN="token";
    }

    /**
     * 与intent传送数据有关的key
     */
    public static class BundleKey{
        public static final String KEY_BBS_TOPIC="bbsTopic";
        public static final String KEY_BBS_CLUB="bbsClub";
        public static final int BBS_CLUB_CONDITION=1;
        public static final int BBS_CLUB_PICTURE=2;
        public static final int BBS_CLUB_NOTIFY=3;
        public static final int BBS_CLUB_CHAT=4;
        public static final String KEY_STORY="story";

    }

    public static class File{
        /**
         * xUtils缓存位置
         */
        public static final String BITMAP_HELPER_CACHE="YeWo";
    }

    public static class Weibo{
        /**
         * 应用的APP_KEY
         */
        public static final String  APP_KEY="3194241053";
        /**
         * 应用的回调页
         */
        public static final String   REDIRECT_URL="https://api.weibo.com/oauth2/default.html";
        /**
         * 应用申请的高级权限
         */
        public static final String SCOPE="email,direct_messages_read,direct_messages_write,"
                + "friendships_groups_read,friendships_groups_write,statuses_to_me_read,"
                + "follow_app_official_microblog," + "invitation_write";
    }
}
